package com.gc.cscott.ioc;

import com.gc.cscott.domain.PlatformsList;
import com.gc.cscott.domain.contest.Contest;
import com.gc.cscott.providers.ContestProvider;
import com.gc.cscott.providers.PlatformsListProvider;
import com.google.inject.AbstractModule;

/**
 *
 * @author root
 */
public class FasModule extends AbstractModule {
    @Override
    protected void configure() {
        bind(Contest.class).toProvider(new ContestProvider()).asEagerSingleton();
        bind(PlatformsList.class).toProvider(new PlatformsListProvider()).asEagerSingleton();
    }
}
